package cn.kgc.service.impl;

import cn.kgc.bean.pojo.StRisk;
import cn.kgc.mapper.StRiskMapper;
import cn.kgc.service.StRiskService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @projectName: safetyMag
 * @package: cn.kgc.service.impl
 * @className: StRiskServiceImpl
 * @author: yindexin
 * @description: TODO
 * @date: 2023/5/1 16:35
 * @version: 1.0
 */
@Service("stRiskService")
public class StRiskServiceImpl implements StRiskService {

    @Resource
    private StRiskMapper stRiskMapper;

    @Override
    public List<StRisk> getStRiskAll() {
        return stRiskMapper.getStRiskAll();
    }
}
